
#ifndef  FILESIZE_H
#define  FILESIZE_H

#include <cstddef>
#include <atomic>


class FileSize {
public:
    void set(const size_t size);
    void increase(const size_t size);
    const size_t size() const;

private:
    std::atomic<size_t> _size = 0;
};

#endif   /* FILESIZE_H */
